{include file="header.tpl"}

<div id="main">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>

{include file="mydesk.userpanel.tpl"}

<div id="md_rightbox">
<h2>{$lan_manage|cat:$lan_my|cat:$lan_image}</h2>
{''|GetSystemInfo}

<div id="md_rightbox_main">
<form method="post" action="mydesk.images.php" name="imagesform">
<input type="hidden" name="action" value="deleteimages" />
<table width="100%" border="0" cellpadding="5" cellspacing="0"  class="tb_images">
<tr>
<td colspan="8">{$lan_userimages}: {$totalimages}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$lan_usernoacitveimages}: <span class={if $noactiveimages}redb{/if}>{$noactiveimages}</span></td>
</tr>
<tr>
<td nowrap="nowrap" class="tdrow1">{$lan_browse}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_edit}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_status}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_category}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_hits}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_downloads}</td>
<td nowrap="nowrap" class="tdrow1">{$lan_date}</td>
<td nowrap="nowrap" class="tdrow1"><input type="checkbox" checkall="group" {if !$userinfo.allowdelete}disabled{/if} onclick="select_deselectAll('imagesform', this, 'group');"> {$lan_delete}</td>
</tr>

{section name=image loop=$images}
<tr  style="background:{cycle values='#242424,#000'};">
<td class="tdrow2">{if $images[image].actived}<a href="{'InterPhoto.php'|GetUrl:'id':$images[image].imageid}" target="_blank">{/if}<img src="InterPhoto.thumbnail.php?file={$images[image].path|cat:"/0/"|cat:$images[image].filename|InterEncode}"  onMouseMove="ShowBigImage();" />{if $images[image].actived}</a>{/if}</td>
<td class="tdrow2"><a href="{'mydesk.upload.php'|GetUrl:'':'':'':'imageid='|cat:$images[image].imageid}">{$images[image].title|ShortTitle:'18'|default:$lan_notitle}</a></td>
<td class="tdrow2">{if $images[image].actived}{$lan_statusonline}{else}<span class=redb>{$lan_statusoffline}</span>{/if}</td>
<td class="tdrow2">{$images[image].categorytitle|ShortTitle:'12'}</td>
<td class="tdrow2">{$images[image].viewcount}</td>
<td class="tdrow2">{$images[image].downloadcount}</td>
<td class="tdrow2">{$images[image].created|DisplayDate:'Y-m-d'}</td>
<td class="tdrow2"><input type="checkbox" name="deleteimageids[]" value="{$images[image].imageid}" checkme="group" {if !$userinfo.allowdelete}disabled{/if}></td>
</tr>
{/section}

<tr><td colspan="8">{$pagelist}</td></tr>
<tr><td colspan="8" style="text-align:center;"><input type="submit" name="deleteimages" onclick="return confirm('{$lan_confirmdelete}');" value=" {$lan_delete|cat:$lan_image} " {if !$userinfo.allowdelete}disabled{/if} /></td></tr>
</table>

</form>


</div>
</div>

</td>
</tr>
</table>
</div>


{include file="footer.tpl"}
